<%@ page import="java.util.List" %>
<%@ page import="java.util.ArrayList" %>
<%@ page import="java.util.Arrays" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <% List<String> perties= Arrays.asList("西施","貂蝉","王昭君","杨玉环");
    request.setAttribute("perties",perties);
    %>
    <c:forEach items="${perties}" var="perty">
        <h2>${perty}</h2>
    </c:forEach>
    <h2>春晓/h2>
    <h4>作者：孟浩然</h4>
<h3>春眠不觉晓，处处闻啼鸟。</h3>
    <h3>夜来风雨声，花落知多少。</h3>
</body>
</html>
